// combat.h

#ifndef __COMBAT__
#define __COMBAT__

#define TYPE_REGULAR                0
#define TYPE_RIPOSTE                1
#define TYPE_QUICK                  2
#define TYPE_LINK                   3

#define RESULT_DODGE                -1
#define RESULT_PARRY                -2
#define RESULT_PROTECT              -3
#define RESULT_ATTACK               -4
#define RESULT_ERROR                -5

// This is used as skill_power()'s argument to indicate which type of skill
// usage will be used in calculating skill power.
#define SKILL_USAGE_ATTACK         1
#define SKILL_USAGE_DEFENSE        2
#define SKILL_USAGE_DODGE          3
#define SKILL_USAGE_PARRY          4
#define SKILL_USAGE_ABSORB         5

// attack mode
#define UNARMED_ATTACK          0
#define WEAPON_ATTACK           1
#define REMOTE_ATTACK           2
#define SPECIAL_ATTACK          3

#endif

